typedef struct __adc_thread_struct {
	unsigned char adc_buf[2];
        unsigned char chan;
} adc_thread_struct;

void init_adc_thread(adc_thread_struct *tptr);
int adc_lthread(adc_thread_struct *,int,int,unsigned char*);
